package com.zuipin.entity.product;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 
 *
 * @ClassName ProductExtInfo
 * @author wangcongyi
 * @date 2017年4月18日 下午5:07:56
 */
@ApiModel(description = "商品扩展信息")
public class ProductExtInfo {
	private Long				id;											// 商品拓展信息ID
	
	private Long				proId;										// 商品ID
	
	private Long				sysId;										// 系统ID
	
	private String				proSku;										// 商品SKU
	
	private String				title;										// 商品标题
	
	private String				subTitle;									// 商品副标题
	
	private Integer				buyLowLimit;								// 最低订购量
	
	private Integer				buyUpperLimit;								// 最高订购量
	
	private String				mainImgUrl;									// 商品主图
	
	private String				sellingPoint;								// 商品卖点
	
	private String				description;								// 商品描述
	
	private BigDecimal			feight;										// 运费
	
	private Boolean				isScareBuying;								// 是否抢购商品
	
	private String				state;										// 状态
	
	private Long				isSales;									// 是否参与活动
	
	private Long				isAgents;									// 是否代理商 0 否 1 是
	
	private BigDecimal			salesPrice;									// 活动价
	
	private String				salesStartTime;								// 活动开始时间
	
	private String				salesEndTime;								// 活动结束时间
	
	private Long				repertory;									// 仓储位置
	
	private String				reason;										// 推荐理由
	
	private String				seoKey;										// SEO关键字
	
	private BigDecimal			virtualStock;								// 虚拟库存
	
	private Long				tagId;										// 标签ID
	
	private Boolean				delFlag;									// 删除标志
	
	private Long				createId;									// 创建者
	
	private String				createTime;									// 创建时间
	
	private Long				updateId;									// 更新者
	
	private String				updateTime;									// 更新时间
	
	private Integer				assessmentNum;								// 好评数
	
	private BigDecimal			salesNum;									// 销售数
	
	private BigDecimal			stockNum;									// 库存数
	
	private Short				isSoldOut;									// 是否售罄 0 售罄 1 有货 IS_SOLD_OUT
	
	private String				tagName;									// 标签名称
	
	private String				tagImgUrl;									// 标签图片
	
	private String				ruleName;									// 规则名称
	
	private String				onShelfTime;								// 最近上架时间
	
	public static final Long	IS_SPECIAL			= 1L;					// 有特价
	public static final Long	NO_SPECIAL			= 0L;					// 无特价
	
	public static final Long	YES_AGENTS			= 1L;					// 代理商
	public static final Long	NO_AGENTS			= 0L;					// 非代理商
	
	public static final String	ON_SHELF			= "ON_SHELF";			// 上架
	public static final String	OFF_SHELF			= "OFF_SHELF";			// 下架
	
	public static final String	TIMING_ON_SHELF		= "TIMING_ON_SHELF";	// 定时上架
	public static final String	TIMING_OFF_SHELF	= "TIMING_OFF_SHELF";	// 定时下架
	
	public static final Integer	PAGE_SIZE			= 50;					// 单页记录数(用于自动更新库存)
	
	public static final Short	SOLD_OUT			= 0;
	
	@ApiModelProperty(value = "商品拓展信息ID")
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	@ApiModelProperty(value = "商品信息ID")
	public Long getProId() {
		return proId;
	}
	
	public void setProId(Long proId) {
		this.proId = proId;
	}
	
	@ApiModelProperty(value = "系统ID")
	public Long getSysId() {
		return sysId;
	}
	
	public void setSysId(Long sysId) {
		this.sysId = sysId;
	}
	
	@ApiModelProperty(value = "商品sku")
	public String getProSku() {
		return proSku;
	}
	
	public void setProSku(String proSku) {
		this.proSku = proSku == null ? null : proSku.trim();
	}
	
	@ApiModelProperty(value = "是否特价 0 否 1是")
	public Long getIsSales() {
		return isSales;
	}
	
	public void setIsSales(Long isSales) {
		this.isSales = isSales;
	}
	
	@ApiModelProperty(value = "商品标题")
	public String getTitle() {
		return title;
	}
	
	public void setTitle(String title) {
		this.title = title == null ? null : title.trim();
	}
	
	@ApiModelProperty(value = "商品副标题")
	public String getSubTitle() {
		return subTitle;
	}
	
	public void setSubTitle(String subTitle) {
		this.subTitle = subTitle == null ? null : subTitle.trim();
	}
	
	@ApiModelProperty(value = "最低订购量")
	public Integer getBuyLowLimit() {
		return buyLowLimit;
	}
	
	public void setBuyLowLimit(Integer buyLowLimit) {
		this.buyLowLimit = buyLowLimit;
	}
	
	@ApiModelProperty(value = "最高订购量")
	public Integer getBuyUpperLimit() {
		return buyUpperLimit;
	}
	
	public void setBuyUpperLimit(Integer buyUpperLimit) {
		this.buyUpperLimit = buyUpperLimit;
	}
	
	@ApiModelProperty(value = "商品主图")
	public String getMainImgUrl() {
		return mainImgUrl;
	}
	
	public void setMainImgUrl(String mainImgUrl) {
		this.mainImgUrl = mainImgUrl == null ? null : mainImgUrl.trim();
	}
	
	@ApiModelProperty(value = "商品卖点")
	public String getSellingPoint() {
		return sellingPoint;
	}
	
	public void setSellingPoint(String sellingPoint) {
		this.sellingPoint = sellingPoint == null ? null : sellingPoint.trim();
	}
	
	@ApiModelProperty(value = "商品描述")
	public String getDescription() {
		return description;
	}
	
	public void setDescription(String description) {
		this.description = description == null ? null : description.trim();
	}
	
	@ApiModelProperty(value = "运费")
	public BigDecimal getFeight() {
		return feight;
	}
	
	public void setFeight(BigDecimal feight) {
		this.feight = feight;
	}
	
	@ApiModelProperty(value = "是否抢购商品")
	public Boolean getIsScareBuying() {
		return isScareBuying;
	}
	
	public void setIsScareBuying(Boolean isScareBuying) {
		this.isScareBuying = isScareBuying;
	}
	
	@ApiModelProperty(value = "状态('ON_SHELF','OFF_SHELF')")
	public String getState() {
		return state;
	}
	
	public void setState(String state) {
		this.state = state == null ? null : state.trim();
	}
	
	@ApiModelProperty(value = "特价")
	public BigDecimal getSalesPrice() {
		return salesPrice;
	}
	
	public void setSalesPrice(BigDecimal salesPrice) {
		this.salesPrice = salesPrice;
	}
	
	@ApiModelProperty(value = "活动开始时间")
	public String getSalesStartTime() {
		return salesStartTime;
	}
	
	public void setSalesStartTime(String salesStartTime) {
		this.salesStartTime = salesStartTime == null ? null : salesStartTime.trim();
	}
	
	@ApiModelProperty(value = "活动结束时间")
	public String getSalesEndTime() {
		return salesEndTime;
	}
	
	public void setSalesEndTime(String salesEndTime) {
		this.salesEndTime = salesEndTime == null ? null : salesEndTime.trim();
	}
	
	@ApiModelProperty(value = "仓储位置")
	public Long getRepertory() {
		return repertory;
	}
	
	public void setRepertory(Long repertory) {
		this.repertory = repertory;
	}
	
	@ApiModelProperty(value = "推荐理由")
	public String getReason() {
		return reason;
	}
	
	public void setReason(String reason) {
		this.reason = reason == null ? null : reason.trim();
	}
	
	@ApiModelProperty(value = "seo关键字")
	public String getSeoKey() {
		return seoKey;
	}
	
	public void setSeoKey(String seoKey) {
		this.seoKey = seoKey == null ? null : seoKey.trim();
	}
	
	@ApiModelProperty(value = "虚拟库存")
	public BigDecimal getVirtualStock() {
		return virtualStock;
	}
	
	public void setVirtualStock(BigDecimal virtualStock) {
		this.virtualStock = virtualStock;
	}
	
	@ApiModelProperty(value = "标签ID")
	public Long getTagId() {
		return tagId;
	}
	
	public void setTagId(Long tagId) {
		this.tagId = tagId;
	}
	
	@ApiModelProperty(value = "删除标志")
	public Boolean getDelFlag() {
		return delFlag;
	}
	
	public void setDelFlag(Boolean delFlag) {
		this.delFlag = delFlag;
	}
	
	@ApiModelProperty(value = "创建者")
	public Long getCreateId() {
		return createId;
	}
	
	public void setCreateId(Long createId) {
		this.createId = createId;
	}
	
	@ApiModelProperty(value = "创建时间")
	public String getCreateTime() {
		return createTime;
	}
	
	public void setCreateTime(String createTime) {
		this.createTime = createTime == null ? null : createTime.trim();
	}
	
	@ApiModelProperty(value = "更新者")
	public Long getUpdateId() {
		return updateId;
	}
	
	public void setUpdateId(Long updateId) {
		this.updateId = updateId;
	}
	
	@ApiModelProperty(value = "更新时间")
	public String getUpdateTime() {
		return updateTime;
	}
	
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime == null ? null : updateTime.trim();
	}
	
	@ApiModelProperty(value = "好评数")
	public Integer getAssessmentNum() {
		return assessmentNum;
	}
	
	public void setAssessmentNum(Integer assessmentNum) {
		this.assessmentNum = assessmentNum;
	}
	
	@ApiModelProperty(value = "销售数")
	public BigDecimal getSalesNum() {
		return salesNum;
	}
	
	public void setSalesNum(BigDecimal salesNum) {
		this.salesNum = salesNum;
	}
	
	@ApiModelProperty(value = "是否代理商 0 否 1 是")
	public Long getIsAgents() {
		return isAgents;
	}
	
	public void setIsAgents(Long isAgents) {
		this.isAgents = isAgents;
	}
	
	@ApiModelProperty(value = "标签名称")
	public String getTagName() {
		return tagName;
	}
	
	public void setTagName(String tagName) {
		this.tagName = tagName;
	}
	
	@ApiModelProperty(value = "库存数")
	public BigDecimal getStockNum() {
		return stockNum;
	}
	
	public void setStockNum(BigDecimal stockNum) {
		this.stockNum = stockNum;
	}
	
	@ApiModelProperty(value = "是否售罄 0 售罄  1 有货")
	public Short getIsSoldOut() {
		return isSoldOut;
	}
	
	public void setIsSoldOut(Short isSoldOut) {
		this.isSoldOut = isSoldOut;
	}
	
	@ApiModelProperty(value = "标签图片")
	public String getTagImgUrl() {
		return tagImgUrl;
	}
	
	public void setTagImgUrl(String tagImgUrl) {
		this.tagImgUrl = tagImgUrl;
	}
	
	@ApiModelProperty(value = "规则名称")
	public String getRuleName() {
		return ruleName;
	}
	
	public void setRuleName(String ruleName) {
		this.ruleName = ruleName;
	}
	
	@ApiModelProperty(value = "最近上架时间")
	public String getOnShelfTime() {
		return onShelfTime;
	}
	
	public void setOnShelfTime(String onShelfTime) {
		this.onShelfTime = onShelfTime;
	}
	
}